package com.windgo.bean.vo;

import lombok.Data;

import java.util.List;

/**
 * @author doublec
 * @since 2022/10/13 13:58
 */
@Data
public class GPermissionVO {
    /**
     * id : 商场管理
     * label : 商场管理
     * children : [{"id":"类目管理","label":"类目管理","children":[{"id":"admin:category:update","label":"编辑","api":"POST /admin/category/update"},{"id":"admin:category:list","label":"查询","api":"GET /admin/category/list"},{"id":"admin:category:read","label":"详情","api":"GET /admin/category/read"},{"id":"admin:category:delete","label":"删除","api":"POST /admin/category/delete"},{"id":"admin:category:create","label":"添加","api":"POST /admin/category/create"}]},{"id":"订单管理","label":"订单管理","children":[{"id":"admin:order:read","label":"详情","api":"GET /admin/order/detail"},{"id":"admin:order:reply","label":"订单商品回复","api":"POST /admin/order/reply"},{"id":"admin:order:refund","label":"订单退款","api":"POST /admin/order/refund"},{"id":"admin:order:ship","label":"订单发货","api":"POST /admin/order/ship"},{"id":"admin:order:list","label":"查询","api":"GET /admin/order/list"},{"id":"admin:order:delete","label":"订单删除","api":"POST /admin/order/delete"}]},{"id":"通用问题","label":"通用问题","children":[{"id":"admin:issue:update","label":"编辑","api":"POST /admin/issue/update"},{"id":"admin:issue:list","label":"查询","api":"GET /admin/issue/list"},{"id":"admin:issue:delete","label":"删除","api":"POST /admin/issue/delete"},{"id":"admin:issue:create","label":"添加","api":"POST /admin/issue/create"}]},{"id":"关键词","label":"关键词","children":[{"id":"admin:keyword:update","label":"编辑","api":"POST /admin/keyword/update"},{"id":"admin:keyword:list","label":"查询","api":"GET /admin/keyword/list"},{"id":"admin:keyword:read","label":"详情","api":"GET /admin/keyword/read"},{"id":"admin:keyword:delete","label":"删除","api":"POST /admin/keyword/delete"},{"id":"admin:keyword:create","label":"添加","api":"POST /admin/keyword/create"}]},{"id":"品牌管理","label":"品牌管理","children":[{"id":"admin:brand:update","label":"编辑","api":"POST /admin/brand/update"},{"id":"admin:brand:list","label":"查询","api":"GET /admin/brand/list"},{"id":"admin:brand:read","label":"详情","api":"GET /admin/brand/read"},{"id":"admin:brand:delete","label":"删除","api":"POST /admin/brand/delete"},{"id":"admin:brand:create","label":"添加","api":"POST /admin/brand/create"}]}]
     */
    public int type;
    public String id;
    public String label;
    public List<PPermissionVO> children;

}
